package gov.chinatax.ctcps.generator.form;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="YSZB_DR"
 *     
*/
public class YszbDrHisForm implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** identifier field */
	private String _tzlsbh;
    private String _drbh;
    private String _nd;
    private String _drlx;
    private String _sfgzxm;
    private String _drbs;
    private String _cfztbh;
    private String _dwmc;
    private String _ysm;
    private String _kmbm;
    private String _kmmc;
    private String _xmbm;
    private String _xmmc;
    private String _tjbh;
    private String _tjmc;
    
    private BigDecimal _ysje;
    private BigDecimal _hwje;
    private BigDecimal _gcje;
    private BigDecimal _fwje;
    
    private String _czr;
    private String _czsj;
    private String _sx;
    private String _zt1;
    private String _zt2;
    private String _zt3;
    private String _zt4;


    /** full constructor */
    public YszbDrHisForm(String zt1, String zt2,String zt3, String zt4) {
    
    }

    /** default constructor */
    public YszbDrHisForm() {
    }

    /** minimal constructor */
    public YszbDrHisForm(String cfmxbh, String nd, String yszbbh, BigDecimal ysje, String cfztbh, String dwbh) {
    	
    }

	public String getDrbh() {
		return _drbh;
	}

	public void setDrbh(String drbh) {
		this._drbh = drbh;
	}

	public String getNd() {
		return _nd;
	}

	public void setNd(String nd) {
		this._nd = nd;
	}

	public String getDrlx() {
		return _drlx;
	}

	public void setDrlx(String drlx) {
		this._drlx = drlx;
	}

	public String getSfgzxm() {
		return _sfgzxm;
	}

	public void setSfgzxm(String sfgzxm) {
		this._sfgzxm = sfgzxm;
	}

	public String getDrbs() {
		return _drbs;
	}

	public void setDrbs(String drbs) {
		this._drbs = drbs;
	}

	public String getCfztbh() {
		return _cfztbh;
	}

	public void setCfztbh(String cfztbh) {
		this._cfztbh = cfztbh;
	}

	public String getDwmc() {
		return _dwmc;
	}

	public void setDwmc(String dwmc) {
		this._dwmc = dwmc;
	}

	public String getYsm() {
		return _ysm;
	}

	public void setYsm(String ysm) {
		this._ysm = ysm;
	}

	public String getKmbm() {
		return _kmbm;
	}

	public void setKmbm(String kmbm) {
		this._kmbm = kmbm;
	}

	public String getKmmc() {
		return _kmmc;
	}

	public void setKmmc(String kmmc) {
		this._kmmc = kmmc;
	}

	public String getXmbm() {
		return _xmbm;
	}

	public void setXmbm(String xmbm) {
		this._xmbm = xmbm;
	}

	public String getXmmc() {
		return _xmmc;
	}

	public void setXmmc(String xmmc) {
		this._xmmc = xmmc;
	}

	public String getTjbh() {
		return _tjbh;
	}

	public void setTjbh(String tjbh) {
		this._tjbh = tjbh;
	}

	public String getTjmc() {
		return _tjmc;
	}

	public void setTjmc(String tjmc) {
		this._tjmc = tjmc;
	}

	public BigDecimal getYsje() {
		return _ysje;
	}

	public void setYsje(BigDecimal ysje) {
		this._ysje = ysje;
	}

	public BigDecimal getHwje() {
		return _hwje;
	}

	public void setHwje(BigDecimal hwje) {
		this._hwje = hwje;
	}

	public BigDecimal getGcje() {
		return _gcje;
	}

	public void setGcje(BigDecimal gcje) {
		this._gcje = gcje;
	}

	public BigDecimal getFwje() {
		return _fwje;
	}

	public void setFwje(BigDecimal fwje) {
		this._fwje = fwje;
	}

	public String getCzr() {
		return _czr;
	}

	public void setCzr(String czr) {
		this._czr = czr;
	}

	public String getCzsj() {
		return _czsj;
	}

	public void setCzsj(String czsj) {
		this._czsj = czsj;
	}

	public String getSx() {
		return _sx;
	}

	public void setSx(String sx) {
		this._sx = sx;
	}

	public String getZt1() {
		return _zt1;
	}

	public void setZt1(String zt1) {
		this._zt1 = zt1;
	}

	public String getZt2() {
		return _zt2;
	}

	public void setZt2(String zt2) {
		this._zt2 = zt2;
	}

	public String getZt3() {
		return _zt3;
	}

	public void setZt3(String zt3) {
		this._zt3 = zt3;
	}

	public String getZt4() {
		return _zt4;
	}

	public void setZt4(String zt4) {
		this._zt4 = zt4;
	}
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("drbh", getDrbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof YszbDrHisForm) ) return false;
        YszbDrHisForm castOther = (YszbDrHisForm) other;
        return new EqualsBuilder()
            .append(this.getDrbh(), castOther.getDrbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getDrbh())
            .toHashCode(); 
    }

	public String getTzlsbh() {
		return _tzlsbh;
	}

	public void setTzlsbh(String tzlsbh) {
		this._tzlsbh = tzlsbh;
	}

}
